﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MODEL;

namespace FE
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            var screensize = Screen.PrimaryScreen.Bounds;
            this.Width = screensize.Width;
            this.Height = screensize.Height;
            InitializeComponent();
        }

        private void textBoxUserID_Enter(object sender, EventArgs e)
        {
            ShowOSKeyb();
        }

        private void textBoxAccessCode_Enter(object sender, EventArgs e)
        {
            ShowOSKeyb();
        }

        public void ShowOSKeyb()
        {
            OSKeyb_AZERTY OSKeyb = new OSKeyb_AZERTY();
            OSKeyb.Show();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            
        }

        private void pmangamentbtn_Click(object sender, EventArgs e)
        {
            ProductMangament p = new ProductMangament();
            p.Show();
        }
    }
}
